//插件反向代理的配置
const { createProxyMiddleware } = require('http-proxy-middleware')

module.exports = function (app) {
    app.use(
        '/api',
        createProxyMiddleware({
            target: ' https://i.maoyan.com',
            changeOrigin: true
        })
    )
}